package com.sqlist.shareserver.dto;

/**
 * Created by SqList on 2018/6/13.
 */

import java.io.Serializable;

/**
 * 位置dto
 */
public class LocationDTO implements Serializable {

    // 纬度
    private double latitude;
    // 经度
    private double longitude;

    public LocationDTO(double latitude, double longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
}
